<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>测试js数组移位</title>
    <script src="../zujian/han/han.js"></script>


</head>
<body>
<script type="text/javascript">
    var k=["1","2"];
    arrDelOne(k,"2");
    alert(JSON.stringify(k));
    k.unshift("2");
    alert(JSON.stringify(k));
</script>
</body>
</html>